package com.qf.service;

import com.qf.pojo.resp.BaseResp;
import com.qf.pojo.vo.Address;
import com.qf.pojo.vo.Business;

public interface BusinessService {
    BaseResp findAll(Address address);
    BaseResp caculate(Address address);
    BaseResp bsort(Address address);
    BaseResp btsort(Integer tid,Address address);
    BaseResp findByType(Integer tid,Address address);
    BaseResp findOne(Integer id);
    BaseResp getEvaluation(Business business);
    BaseResp search(String sv, Address address);
    BaseResp login(Business business);
    BaseResp findByPhone(String phone);
    BaseResp update(Business business);
}
